/**
 * @author 0283000115
 * @date 2017年10月8日-下午1:44:45
 */
package com.zte.claa.inficombo.csa.app.dao.mysql.impl;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zte.claa.inficombo.csa.app.model.dev.ClaaDevInitState;

/**
 * @author 0283000115
 *
 */

@Repository
public interface ClaaDevInitStateMapper {
	//ClaaDevInitState列表查询
	public List<ClaaDevInitState> queryClaaDevInitStates(@Param("p") ClaaDevInitState p, @Param("batch")int batch, @Param("offset")int offset) throws Exception;
	
	//ClaaDevInitState查询
	public ClaaDevInitState queryClaaDevInitState(@Param("deveui") String deveui) throws Exception;
	
	//add ClaaDevInitState	 
	public void addClaaDevInitState(@Param("dd") ClaaDevInitState dd) throws Exception;
	
	//修改 ClaaDevInitState。注意按设备类型是否为空进行选择性更新！
	public int updateClaaDevInitState(@Param("dd") ClaaDevInitState dd) throws Exception;
	
	//删除ClaaDevInitState	 
	public int removeClaaDevInitState(@Param("deveui") String deveui) throws Exception;

}
